package com.gitee.neuray.security.par.basicData.biz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import org.springframework.transaction.annotation.Transactional;
import tk.mybatis.mapper.common.Mapper;
import com.gitee.neuray.security.common.biz.BaseBiz;

import com.gitee.neuray.security.par.basicData.mapper.ParBasicDataMapper;
import com.gitee.neuray.security.par.basicData.entity.ParBasicDataEntity;


@Service
@Transactional(rollbackFor = Exception.class)
public class ParBasicDataBiz extends BaseBiz<ParBasicDataMapper,ParBasicDataEntity> {
    @Override
    protected String getPageName() {
        return "ParBasicData"+"Biz";
    }

    @Autowired
    private ParBasicDataMapper parBasicDataMapper;

    public void delBasicDataByParentId(String parentId){
        parBasicDataMapper.delBasicDataByParentId(parentId);
    }

    public List<ParBasicDataEntity> queryAll(Map<String,String> param){
        return parBasicDataMapper.queryAll(param);
    }
}
